package com.zhongke.cotrun.model.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

@Data
public class LevelOneComment {

    private BigInteger levelOneCommentId;//一级评论id
    private Integer linkProjectId;//相关项目id
    private Integer linkUserId;//关联连用户的id
    private String linkUserName;//评论人的名字
    private  String linkUserAccountHead;//评论人头像
    private String commentContent;//评论内容

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间
    private Integer state;//评论状态  0正常1删除
    private String type;//评论类型

    private List<LevelTwoComment> levelTwoComments;//关联的二级评论
    private Tags tags;//关联的点赞数

}
